<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>BLOB</title>
    <link href="style.css" rel="stylesheet" />
  </head>
  <body>
    <div style="display: flex; text-align: center">
      <div>
        <canvas
          id="c1"
          style="
            border: 1px solid rgb(38, 51, 107);
            width: 100px;
            height: 100px;
          "
        ></canvas>
        <div>原始图像1</div>
      </div>
      <div style="margin-left: 15px">
        <canvas
          id="c2"
          style="
            border: 1px solid rgb(38, 107, 53);
            width: 100px;
            height: 100px;
          "
        ></canvas>
        <div>原始图像2</div>
      </div>

      <div style="margin-left: 15px">
        <img
          id="preview"
          alt=""
          style="border: 1px solid #000;"
        />
        <div>编码图像</div>
      </div>
    </div>

    <script src="../lib/index.js"></script>
    <script src="./index.js"></script>
  </body>
</html>
